package com.imooc.repository;

import com.imooc.dataobject.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @program: sell
 * @description: 商品信息
 * @author: LT
 * @create: 2020-07-13 21:58
 **/
public interface ProductInfoRepository extends JpaRepository<ProductInfo, String> {
    List<ProductInfo> findByProductStatus (Integer productStatus);
    ProductInfo findByProductId(String id);
}
